<script setup lang="ts" name="Playground">
import { useCountDown } from '@/utils/hooks'

const { time, start } = useCountDown(5)
const clickFn = () => {
  console.log('哈哈哈')
  start()
}
</script>

<template>
  <!-- 专门用于测试不稳定的代码 -->
  <div>演练场</div>
  <button @click="clickFn">登录 - {{ time }}</button>
</template>

<style scoped></style>
